<?php

namespace App\Logic;

use App\Msg\MsgInfo;
use App\Utility\BaseException;

class Logic {
	public $msgInfo = "";
	public $msgCode = "";
	public function setMsg($code, $action = "User") {
		throw new BaseException ( [ 
				'msg' => MsgInfo::$action ( $code ),
				'code' => $code 
		] );
	}
}